package com.sg.dto.biz.component.common;

import com.sg.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;


/**
 * @desc DataFolderDto
 * @使用场景
 */
@Data
public class DataFolderDto extends BaseDto implements Serializable {

    /**
     * 文档夹ID
     */
    @ApiModelProperty("文档夹ID")
    private String unstructuredDataFolderId;

    /**
     * 操作人就职记录ID
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;

    /**
     * 操作时间
     */
    @ApiModelProperty("操作时间")
    private Date operateTime;
    /**
     * 文件夹名
     */
    @ApiModelProperty("文件夹名")
    private String folderName;

    /**
     * 文件夹下文件大小
     */
    @ApiModelProperty("文件夹下文件大小 ")
    private String fileSize;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        DataFolderDto that = (DataFolderDto) o;
        return unstructuredDataFolderId == that.unstructuredDataFolderId && operationInductionId == that.operationInductionId && operateTime == that.operateTime && folderName == that.folderName && fileSize == that.fileSize && createTime == that.createTime;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), unstructuredDataFolderId, operationInductionId, operateTime, folderName, fileSize, createTime);
    }


}
   